xen/arm: gic-v3: Add missing breaks gicv3_read_apr()
authorJulien Grall <jgrall@amazon.com>
Wed, 12 May 2021 17:35:48 +0000 (18:35 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 12 May 2021 20:23:48 +0000 (13:23 -0700)
commit43d4cc7d36503bcc3aa2aa6ebea2b7912808f254
treea9cdeb39370ca2fa2d62f5cb606b76abf2521421
parent52b91dad6f43afb0c77325e6d54115c280958e57
xen/arm: gic-v3: Add missing breaks gicv3_read_apr()

Commit 78e67c99eb3f "arm/gic: Get rid of READ/WRITE_SYSREG32"
mistakenly converted all the cases in gicv3_read_apr() to fall-through.

Rather than re-instating a return per case, add the missing break and
keep a single return at the end of the fucntion.

Fixes: 78e67c99eb3f ("arm/gic: Get rid of READ/WRITE_SYSREG32")
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3.c